/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controllers.utils;

import Model.acl.ACL;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 *
 * @author Anthares
 */
public class ApplicationContextListener implements ServletContextListener{

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        ACL.init(sce.getServletContext());
        sce.getServletContext().setAttribute("default_lang", "en_US");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        
    }
}
